package com.example.smartf.repository.mysql;

import com.example.smartf.model.mysql.Formulainfo;
import org.springframework.data.jpa.repository.JpaRepository;

import javax.transaction.Transactional;
import java.util.List;

public interface FormulainfoRepository extends JpaRepository<Formulainfo,String> {

    List<Formulainfo> findByType(String type);

    @Transactional
    int deleteById(Integer id);

}
